#pragma once

#include <stdint.h>

typedef enum
{
	MSG_CMD_E_CALIBRATE = 0,
	MSG_CMD_E_ARMING,
	MSG_CMD_E_SWITCH_FLIGHT_MODE,
	MSG_CMD_E_TAKEOFF,
	MSG_CMD_E_LAND,
	MSG_CMD_E_BACK_TO_HOME,
	MSG_CMD_E_SET_POSITION,
	//
	MSG_CMD_E_RC_CALIBRATION,

} MSG_COMMAND_E;

#pragma pack(1)

typedef struct
{
	uint32_t command;
	uint64_t arg_u32[8];
	double arg_d[8];
} msg_command_s;

#pragma pack()